package com.yic.module.wms.convert.warehouselocation;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.wms.controller.admin.warehouselocation.vo.*;
import com.yic.module.wms.dal.dataobject.warehouselocation.WarehouseLocationDO;

/**
 * 库位 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface WarehouseLocationConvert {

    WarehouseLocationConvert INSTANCE = Mappers.getMapper(WarehouseLocationConvert.class);

    WarehouseLocationDO convert(WarehouseLocationCreateReqVO bean);

    WarehouseLocationDO convert(WarehouseLocationUpdateReqVO bean);

    WarehouseLocationRespVO convert(WarehouseLocationDO bean);

    List<WarehouseLocationRespVO> convertList(List<WarehouseLocationDO> list);

    PageResult<WarehouseLocationRespVO> convertPage(PageResult<WarehouseLocationDO> page);

    List<WarehouseLocationExcelVO> convertList02(List<WarehouseLocationDO> list);

    List<WarehouseLocationSimpleRespVO> convertList03(List<WarehouseLocationDO> list);
}
